package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.Order;

import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

public interface OrderService {
    public Result order(Map map) throws Exception;
    public Map findById(Integer id);
    List<Integer> findOrderByMonths(List<String> months);
    List<Order> findAllOrders();
    List<Integer> findOrderCountByDate(LinkedHashSet<String> dates);
    List<Integer> findDiagnosisedByDate(LinkedHashSet<String> dates);
    List<Integer> memberAge();
}
